/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package thuvien;


import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

/**
 *
 * @author Tuyen
 */
public interface ThuVienInterface extends Remote{
    public Account getAccount(String name) throws RemoteException;
     public boolean TestAccount(String name) throws RemoteException;
     public void addAccount(String name, String pass,int sdt)throws RemoteException;
     public void addDocGia(String name,int GioiTinh,String quequan,int sdt,String email) throws RemoteException;
     public ArrayList<Sach> getAllSach() throws RemoteException;
     public NhaXuatBan getNXBByID(int id) throws RemoteException;
     public TacGia getTacGiaByID(int id) throws RemoteException;
     public TheLoai getTheLoaiByID(int id) throws RemoteException;
             
             
}
